/**************************************************
|	File:		DestroyEnemyMessage.h
|	Author:		Benjamin Budian
|	Course:		SGD
|	Purpose:	Message tailored to destroying a dead enemy
**************************************************/
#include "DestroyEntityMessage.h"
#include "Entity.h"

#include <cassert>

CDestroyEntityMessage::CDestroyEntityMessage( CEntity* ptr ) 
	: CMessage( MSG_DESTROY_ENTITY )
{
	assert( ptr != nullptr && "CDestroyEntityMessage - cannot destroy null");

	m_pEntity = ptr;
	m_pEntity->AddRef();
}

CDestroyEntityMessage::~CDestroyEntityMessage(void){}
